/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package ufrgs.inf.delphos.extraction.model;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.ENamedElement;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>DPackage</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link ufrgs.inf.delphos.extraction.model.DPackage#getCompUnitsList <em>Comp Units</em>}</li>
 *   <li>{@link ufrgs.inf.delphos.extraction.model.DPackage#getPackagesList <em>Packages</em>}</li>
 * </ul>
 * </p>
 *
 * @see ufrgs.inf.delphos.extraction.model.DelphosSystemModelPackage#getDPackage()
 * @model
 * @generated
 */
public interface DPackage extends ENamedElement {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	DCompilationUnit[] getCompUnits();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	DCompilationUnit getCompUnits(int index);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	int getCompUnitsLength();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setCompUnits(DCompilationUnit[] newCompUnits);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setCompUnits(int index, DCompilationUnit element);

	/**
	 * Returns the value of the '<em><b>Comp Units</b></em>' containment reference list.
	 * The list contents are of type {@link ufrgs.inf.delphos.extraction.model.DCompilationUnit}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Comp Units</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Comp Units</em>' containment reference list.
	 * @see ufrgs.inf.delphos.extraction.model.DelphosSystemModelPackage#getDPackage_CompUnits()
	 * @model containment="true"
	 * @generated
	 */
	EList<DCompilationUnit> getCompUnitsList();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	DPackage[] getPackages();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	DPackage getPackages(int index);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	int getPackagesLength();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setPackages(DPackage[] newPackages);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setPackages(int index, DPackage element);

	/**
	 * Returns the value of the '<em><b>Packages</b></em>' containment reference list.
	 * The list contents are of type {@link ufrgs.inf.delphos.extraction.model.DPackage}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Packages</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Packages</em>' containment reference list.
	 * @see ufrgs.inf.delphos.extraction.model.DelphosSystemModelPackage#getDPackage_Packages()
	 * @model containment="true"
	 * @generated
	 */
	EList<DPackage> getPackagesList();

} // DPackage
